#include "BulletCollision/CollisionShapes/btSdfCollisionShape.h"
#ifdef __cplusplus
extern "C" {
#endif
btSdfCollisionShape* bullet_NewbtSdfCollisionShape(){
	btSdfCollisionShape* wrap_out = new btSdfCollisionShape();
	return wrap_out;
}

bool bullet_btSdfCollisionShape_initializeSDF(btSdfCollisionShape* c_this,char* sdfData,int sizeInBytes){
	char const * c_arg_sdfData=(char const *)(void*)(sdfData);
	int c_arg_sizeInBytes=sizeInBytes;
	bool c_out = c_this->initializeSDF(c_arg_sdfData,c_arg_sizeInBytes);
	bool wrap_out = (c_out);
	return wrap_out;
}

bool bullet_btSdfCollisionShape_queryPoint(btSdfCollisionShape* c_this,btVector3* ptInSDF,double* distOut,btVector3* normal){
	btVector3 const& c_arg_ptInSDF=(btVector3 const&)(*ptInSDF);
	btScalar& c_arg_distOut=(btScalar&)(*distOut);
	btVector3& c_arg_normal=(btVector3&)(*normal);
	bool c_out = c_this->queryPoint(c_arg_ptInSDF,c_arg_distOut,c_arg_normal);
	bool wrap_out = (c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
